package com.fire.control.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_warning_level")
public class WarningLevel extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@Column(name = "level_name", nullable = false,length=50)
	private String levelName;
	
	@Column(name = "level_desc", nullable = false)
	private String levelDesc;
	/**   
	 * @Fields level : 1为最高级别 
	 */ 
	@Column(name = "level", nullable = false)
	private Integer level;
	
	@Column(name = "time_set", nullable = false)
	private Integer timeSet;
	
	private Integer deviceGroupId;
	
	

	public Integer getDeviceGroupId() {
		return deviceGroupId;
	}

	public void setDeviceGroupId(Integer deviceGroupId) {
		this.deviceGroupId = deviceGroupId;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getLevelDesc() {
		return levelDesc;
	}

	public void setLevelDesc(String levelDesc) {
		this.levelDesc = levelDesc;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getTimeSet() {
		return timeSet;
	}

	public void setTimeSet(Integer timeSet) {
		this.timeSet = timeSet;
	}

	
}
